package cn.javass.dp.command.example5;

public class Client {
    public static void main(String[] args) {
        Waiter waiter = new Waiter();

        Command cmd1 = new DuckCommand();
        Command cmd2 = new PorkCommand();
        Command cmd3 = new ChopCommand();

        waiter.orderDish(cmd1);
        waiter.orderDish(cmd2);
        waiter.orderDish(cmd3);

        waiter.orderOver();

    }
}
